﻿using DFGK_WMS.Model.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DFGK_WMS.Model.DTO
{
    public class DeviceDto:BaseDto
    {
        /// <summary>
        /// 设备Id
        /// </summary>
        public int Id { get; set; }
        /// <summary>
        /// 设备编码
        /// </summary>
        public string Code { get; set; }
        /// <summary>
        /// 设备名称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 设备类型：1-AGV
        /// </summary>
        public int DeviceType { get; set; }
        /// <summary>
        /// 状态：0-禁用；1-正常；2-异常
        /// </summary>
        public int? Status { get; set; }
        /// <summary>
        /// 异常说明
        /// </summary>
        public string ExceptionMsg { get; set; }
        /// <summary>
        /// 异常时间
        /// </summary>
        public DateTime? ExceptionDate { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateDate { get; set; }
        /// <summary>
        /// 创建人Id
        /// </summary>
        public int? CreateUserId { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>
        public string CreateUserName { get; set; }
        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? ModifyDate { get; set; }
        /// <summary>
        /// 修改人Id
        /// </summary>
        public int? ModifyUserId { get; set; }
        /// <summary>
        /// 修改人
        /// </summary>
        public string ModifyUserName { get; set; }
        public string WarehouseCode { get; set; }
        public int? WarehouseId { get; set; }
        public string WarehouseName { get; set; }
    }
}
